package superman.app.gr100.biz.gr_expapp;

import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.EditText;

/**
 * Created by Scor on 2015/12/5.
 */
public class FragmentPassword extends Fragment implements View.OnClickListener{
    private Button update_password;
    private EditText old_password;
    private EditText new_password1;
    private EditText new_password2;
    private View view;
    @Override
    public View onCreateView(LayoutInflater inflater,ViewGroup viewGroup,Bundle savedInstanceState){
        view = inflater.inflate(R.layout.fragment_password,viewGroup,false);
        update_password = (Button) view.findViewById(R.id.base_update_password);
        old_password = (EditText) view.findViewById(R.id.base_old_password);
        new_password1 = (EditText) view.findViewById(R.id.base_new_password1);
        new_password2 = (EditText) view.findViewById(R.id.base_new_password2);
        update_password.setOnClickListener(this);
        return  view;
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.base_update_password:
                Log.d("sss","test1");
                break;
            default:
                break;
        }

    }
}
